.payment-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.payment-dialog-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.payment-dialog[style*="display: flex"] .payment-dialog-content {
    transform: scale(1);
    opacity: 1;
}

.payment-dialog-header {
    margin-bottom: 24px;
    position: relative;
}

.payment-dialog-header h3 {
    font-size: 20px;
    color: #2d3436;
    margin: 0;
}

.payment-close-btn {
    position: absolute;
    right: -16px;
    top: -16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.payment-close-btn:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.qrcode-container {
    margin: 20px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.qrcode-container img {
    max-width: 200px;
    height: auto;
}

.payment-tips {
    margin-top: 16px;
    color: #666;
    font-size: 14px;
}

.payment-amount {
    font-size: 24px;
    font-weight: bold;
    color: #7F5BFF;
    margin: 16px 0;
}

.contact-btn {
    margin-top: 16px;
    padding: 12px 24px;
    background: #07C160;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.2);
}

.contact-btn i {
    font-size: 18px;
} 